package com.wangxiang.shop.product.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wangxiang.shop.product.entity.ShopTwoTypeEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author wangxiang
 * @email 2293672863@qq.com
 * @date 2022-03-04 11:20:08
 */
@Mapper
public interface ShopTwoTypeDao extends BaseMapper<ShopTwoTypeEntity> {
    /**
     * 插入获取主键
     * @param shopTwoType
     * @return
     */
	int insertGetKey(ShopTwoTypeEntity shopTwoType);

    List<ShopTwoTypeEntity> getTwoEntity();

    ShopTwoTypeEntity getStatusById(int id);


}
